package com.bigger.clients;

import com.bigger.dto.LoginDTO;
import com.bigger.result.Result;
import com.bigger.vo.LoginVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;

@FeignClient(value="admin-service")
public interface AdminClient {
    @PostMapping("/admin/admin/login")
    Result<LoginVO> login(@RequestBody LoginDTO loginDTO);
}
